@extends('pc.v3.layouts.app')
@push('styles')
  <link rel="stylesheet" href="{{web_static('pc/v3/css/getglod.min.css',true)}}"/>
@endpush
@section('content')
  @php   if(empty($moban['mainImg_pc'])){$moban['mainImg_pc']='http://img.ishangzu.com/ishangzu/2017/09/11/09/651ec8b4-9fb9-d32a-b695-fb74176b6225.jpg';}
     if(empty($moban['backImg_pc'])){$moban['backImg_pc']='http://img.ishangzu.com/ishangzu/2017/09/11/09/79530726-2e2c-154d-861c-93526df3d7ad.jpg';}
     if(empty($moban['subImg_pc'])){$moban['subImg_pc']='http://img.ishangzu.com/ishangzu/2017/09/11/09/34d0c44b-155e-5ffa-a3ac-f59124cc36e9.jpg';}
     if(empty($moban['bottomImg_pc'])){$moban['bottomImg_pc']='http://img.ishangzu.com/ishangzu/2017/09/11/09/f69b06a0-b0a1-dcdc-6ce3-cb50d481efc8.jpg';}
  @endphp
  <div style="background:url('{{$moban['mainImg_pc']}}@1920w_710h_1l.png') center center/100% 100% no-repeat;" class="banner-four">
    @if(!$online)<img src="{{web_static('pc/v3/assets/zhuanti/invalid.png')}}"/>
    @endif
  </div>
  <div style="background:url('{{$moban['backImg_pc']}}@974w_348h_1l.png') center center no-repeat;" class="special-introduce">
    <h2>{{empty($moban['mainTitle'])?'专题介绍':mb_substr($moban['mainTitle'], 0, 8, 'utf-8')}}</h2><span>{{mb_substr($moban['mainText'], 0, 100, 'utf-8')}}</span>
  </div>
  <div class="subject-letters">
    <div class="subject-letters-left">
      <div class="title"><i></i><i></i><span>{{mb_substr($moban['subTitle'], 0, 6, 'utf-8')}}</span><i></i><i></i></div>
      <p> {{mb_substr($moban['subText'], 0, 50, 'utf-8')}}</p>
    </div>
    <div class="subject-letters-right"><img src="{{$moban['subImg_pc']}}@598w_400h_1l.png"/></div>
  </div>
  @if(is_array($moban['items']))
  @foreach($moban['items'] as $k=>$item)
  @php $item = Common\Standard\Object\stdHouse::instance($item); @endphp
  @if($k==0 || ($k+1)%3==1)<div class="house-list-content">
  <ul class="house-list">
  @endif
    <li><img src="{{$item->image('@280w_210h_1c_1e.jpg')}}"/>
      <p class="title">{{str_limit($item->premName,18)}}</p>
      <p class="tag"><span>{{$item->districtName}}&nbsp;</span><span>| {{$item->bizCircleName}}&nbsp;</span><span>| {{$item->getHouseRoomHallToilet()}}&nbsp;</span><span>| {{$item->getHouseDirection('朝')}}&nbsp;</span><span>| {{$item->getHouseSize()}}</span></p>
      <div class="house-list-price"><span>{{$item->currentPrice()}}</span><span>元 / 月</span><a href="{{$item->url()}}" title="{{$item->premName}} {{$item->getHouseRoomHallToilet(false)}} {{$item->getHouseSize('')}}m² 精装修公寓房">查看详情</a></div>
    </li>
  @if(($k+1)%3==0 || count($moban['items'])==$k+1)</div></ul>
  @endif
  @endforeach
  @endif
  <div style="background:url('{{$moban['bottomImg_pc']}}@1920w_400h_1l.png') center center/100% 100% no-repeat;" class="footer">
    <div class="more"><a href="{{$moban['moreUrl_pc']}}" target="_blank">更多房源</a></div>
    <div class="footer-content"></div>
  </div>
@endsection
@push('scripts')
  <script src="{{web_static('pc/v3/js/getglod.min.js',true)}}"></script>
@endpush